<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html lang="en">
<HEAD>

<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2011. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">

<LINK REL="STYLESHEET" HREF="../book.css" CHARSET="ISO-8859-1" TYPE="text/css">
<TITLE>
List of JDT key bindings
</TITLE>

<link rel="stylesheet" type="text/css" HREF="../book.css">
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js" type="text/javascript"> </script>

<style type="text/css">
<!--
table tr td { padding: 3pt; }
-->
</style>

</HEAD>

<BODY>
<h1>List of JDT Key Bindings</h1>
<p>The list of available key bindings in Eclipse depends on many factors, including
what view or editor is selected, whether a dialog is open, what plug-ins are
installed, and what operating and windowing system is being used.  At any
time, you can obtain a list of available key bindings using Key Assist 
(<a class="command-link" href='javascript:executeCommand("org.eclipse.ui.window.showKeyAssist")'><img src="PLUGINS_ROOT/org.eclipse.help/command_link.svg" alt="Show key assist">
<b>Help &gt; Key Assist...</b></a>
or Ctrl+Shift+L).  The following tables list some 
popular key bindings available in the Java development tools.</p>

<h3><strong>Java Editor Actions</strong></h3>
<table width="75%" border="1">
  <colgroup>
    <col width="126">
    <col width="110">
  </colgroup>
  <tr><td>Add Block Comment</td>
    <td>Ctrl+Shift+/</td>
  </tr>
  <tr>
    <td>Add Import</td>
    <td>Ctrl+Shift+M</td>
  </tr>
  <tr>
    <td>Content Assist</td>
    <td>Ctrl+Space</td>
  </tr>
  <tr>
    <td>Content Assist (Simplified Chinese)</td>
    <td>Alt+/</td>
  </tr>
  <tr>
    <td>Expand Selection to Enclosing Element</td>
    <td>Alt+Shift+Up Arrow</td>
  </tr>
	<tr>
    <td>Expand Selection: Restore Last Selection</td>
    <td>Alt+Shift+Down Arrow</td>
  </tr>
	<tr>
    <td>Expand Selection to Next Element</td>
    <td>Alt+Shift+Right Arrow</td>
  </tr>
	<tr>
    <td>Expand Selection to Previous  Element</td>
    <td>Alt+Shift+Left Arrow</td>
  </tr>
	<tr>
    <td>Format</td>
    <td>Ctrl+Shift+F</td>
  </tr>
	<tr>
    <td>Next</td>
    <td>Ctrl+. (Period)</td>
  </tr>
  	<tr>
    <td>Open External Javadoc</td>
    <td>Shift+F2</td>
  </tr>
	<tr>
    <td>Open on Selection</td>
    <td>F3</td>
  </tr>
	<tr>
    <td>Open Type</td>
    <td>Ctrl+Shift+T</td>
  </tr>
	<tr>
    <td>Open Type Hierarchy</td>
    <td>F4</td>
  </tr>
	<tr>
    <td>Open Type in Hierarchy</td>
    <td>Ctrl+Shift+H</td>
  </tr>
	<tr>
    <td>Organize Imports</td>
    <td>Ctrl+Shift+O</td>
  </tr>
	<tr>
    <td>Parameter Hints</td>
    <td>Ctrl+Shift+Space</td>
  </tr>
	<tr>
    <td>Parameter Hints (Simplified Chinese)</td>
    <td>Alt+?</td>
  </tr>
	<tr>
    <td>Previous</td>
    <td>Ctrl+, (Comma)</td>
  </tr>
	<tr>
    <td>Quick Assist</td>
    <td>Ctrl+1</td>
  </tr>
	<tr>
    <td>Quick Fix</td>
    <td>Ctrl+1</td>
  </tr>
	<tr>
    <td>Redo</td>
    <td>Ctrl+Y</td>
  </tr>
  <tr>
    <td>Remove Block Comment</td>
    <td>Ctrl+Shift+\</td>
  </tr>
	<tr>
    <td>Search for Declarations in Workspace</td>
    <td>Ctrl+G</td>
  </tr>
	<tr>
    <td>Search for References in Workspace</td>
    <td>Ctrl+Shift+G</td>
  </tr>
	<tr>
    <td>Shift Right</td>
    <td>Tab</td>
  </tr>
	<tr>
    <td>Shift Left</td>
    <td>Shift+Tab</td>
  </tr>
	<tr>
    <td>Show Tooltip Description</td>
    <td>F2</td>
  </tr>
  <tr>
    <td>Toggle Comment</td>
    <td>Ctrl+/</td>
  </tr>
  <tr>
    <td>Undo</td>
    <td>Ctrl+Z</td>
  </tr>
</table>

<h3><strong>Debug Actions</strong></h3>
<table width="75%" border="1">
  <colgroup>
    <col width="126">
    <col width="110">
  </colgroup>
  <tr> 
    <td>Debug Last Launched</td>
    <td>F11</td>
  </tr>
  <tr>
    <td>Display</td>
    <td>Ctrl+Shift+D</td>
  </tr>
  <tr>
    <td>Inspect</td>
    <td>Ctrl+Shift+I</td>
  </tr>
  <tr>
    <td>Resume</td>
    <td>F8</td>
  </tr>
	<tr>
    <td>Run Last Launched</td>
    <td>Ctrl+F11</td>
  </tr>
  <tr>
    <td>Run Snippet</td>
    <td>Ctrl+U</td>
  </tr>
  <tr>
    <td>Run to Line</td>
    <td>Ctrl+R</td>
  </tr>
	<tr>
    <td>Run to Return</td>
    <td>F7</td>
  </tr>
  <tr>
    <td>Step Into</td>
    <td>F5</td>
  </tr>
  <tr>
    <td>Step into Selection</td>
    <td>Ctrl+F5</td>
  </tr>
  <tr>
    <td>Step Over</td>
    <td>F6</td>
  </tr>
  <tr>
    <td>Toggle Breakpoint</td>
    <td>Ctrl+Shift+B</td>
  </tr>
</table>
  
<h3 class="related">Related Concepts</h3>
  <a href="../../org.eclipse.platform.doc.user/concepts/accessibility/navigation.htm">Navigating the user interface using the keyboard</a><br>
  <a href="../../org.eclipse.platform.doc.user/concepts/accessibility/keyboardshortcuts.htm">Keys and accessibility for the workbench</a>
<h3 class="related">Related References</h3>
  <a href="../../org.eclipse.platform.doc.user/reference/ref-keybindings.htm">List of key bindings</a>
</BODY>
</HTML>
